<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
    <form action="/login" method="post">
        用户名：<input type="text" name="uname">
        密码：<input type="password" name="pwd">

        验证码: <input type="text" name="code">
        <!--    给地址拼接1个随机数，防止缓存-->
        <img src="/code/image" alt="验证码" onclick="this.src='/code/image?'+Math.random()">
        <input type="submit" value="登录">
    </form>
</body>
</html>